Only query the absolutely necessary attributes
authorBenjamin Otte <otte@gnome.org>
Tue, 30 Jun 2009 21:45:39 +0000 (23:45 +0200)
committerBenjamin Otte <otte@gnome.org>
Thu, 15 Oct 2009 20:00:08 +0000 (22:00 +0200)
commitcd337e2a95c2363d95c87319aec4907f773384e8
tree8e3c5e2de3944be7288bdf0e6a2e0baddbdefbba
parent4a1ff32325fd2ffc80ec3d9612f4e2a846261abc
Only query the absolutely necessary attributes

Since the time taken by g_file_enumerate_children() depends a lot on the
attributes that are queried, we query the minimum attributes that need
to be queired to display the file chooser.

In particular, the attributes for loading the icon are ignored, as icons
are loaded on demand (see previous commit).
gtk/gtkfilechooserdefault.c